//
//  Bed+CRUD.h
//  PlotMate
//
//  Created by Brian Boyle on 04/04/2012.
//  Copyright (c) 2012 Brian Boyle. All rights reserved.
//

#import "Bed.h"
#import "TempBed.h"

@interface Bed (CRUD)
+(Bed *)createBed:(Bed *)bed inPlot:(Plot *)plot withContext:(NSManagedObjectContext *)context;
+(Bed *)createBedFromTempBed:(TempBed *)bed withContext:(NSManagedObjectContext *)context;
+(Bed *)selectBedWithName:(NSString *)name inPlot:(NSString *)plotName withContext:(NSManagedObjectContext *)context;
@end
